local function main()

  a = io.read("*number")
  lista = {}
  index = 1
  
  for i=1, a do
    b = io.read("*number")
    c = io.read("*number")
    lista[index] = b + c
    index = index + 1
  end
  
  for i=1, #lista do
    print(lista[i])
  end

end

main()